﻿namespace CoreLib.Extensions
{
    public static class BoolExt
    {
        public static bool TryParse( string value, bool @default )
        {
            var parsed = false;
            return bool.TryParse( value, out parsed ) ? parsed : @default;
        }
    }
}
